﻿using System;
using System.Collections.Generic;

using SIG.Model;

namespace SIG.Service
{
    public interface IPageService : IEntityService<Page>
    {
        Page GetPageBySeoName(string seoName);
        int SearchPagesCount(string Title);
        IList<Page> SearchPages(int pageIndex, int pageSize, string Title);
        List<Page> GetPagedElements(int pageIndex, int pageSize, string keyword, out int totalCount);

        int ActivePagesCount();
        IList<Page> GetActivePages(int pageIndex, int pageSize);
    }
}
